{/* LAYOUT模板 */}
	<layout name="layout"/>
{/* LAYOUT模板 */}

{/* import Js,Css */}
	<js href="__PUBLIC__/js/admin/listTable.js"/>
	<js href="__PUBLIC__/js/admin/js.util.js"/>
	<css href="__PUBLIC__/css/admin/common.css"/>
	<js href="__PUBLIC__/js/admin/js.selectzone.js"/>
	<css href="__PUBLIC__/css/qs-table-1.0.css"/>
	<css href="__PUBLIC__/css/jquery-ui.css" />
	<js href="__PUBLIC__/js/jquery-ui.1.10.4.js" />
	<js href="__PUBLIC__/js/core/plugins.js"/>
{/* import js,css */}

<!-- [position] -->
	<include file="Template:position"/>
<!-- [position] -->
<!-- [position] -->
	<include file="Core:QTip"/>
<!-- [position] -->

<css href="__PUBLIC__/plugs/dialog/dialog.css"/>
<js href="__PUBLIC__/plugs/dialog/dialog.js"/>

<div class="rightbanner">
	<table id="node-list-table" border="1" class="qs-table" width="100%">
	    <thead>
			<tr>
				<th class="first" width="80px">{$lang.node_id}</th>
				<th width="170px">{$lang.node_name}</th>
				<th>{$lang.title}</th>
				<th width="100px" align="center">{$lang.status}</th>
				<th align="center">{$lang.remark}</th>
				<th align="center">{$lang.parent_id}</th>
				<th align="center">{$lang.sort_order}</th>
				<th align="center">{$lang.level}</th>
				<th class="last" align="center">{$lang.action}</th>
			</tr>		   
		</thead>	
		<tbody>
	    <volist name="nodeList" id="node">
	    	<tr class="data">
			  <td class="first">{$node.id}</td>
		      <td>{$node.name}</td>
		      <td>
				   {$node.title}
		      </td>		            
		      <td align="center">
		      		<img class="pointer" onclick="listTable.toggle(this, 'status', {$node.id});" src="__PUBLIC__/image/admin/<if condition="$node.status eq 1">bg_yes.gif<else/>bg_no.gif</if>"/>
			  </td>
			  <td>
		      	  {$node.remark}
		      </td>		
			  <td>
		      	  {$node.pid}
		      </td>	
			  <td>
		      	  {$node.sort_order}
		      </td>	
			  <td align="center">
		      	  {$node.level}
		      </td>	
		      <td width="200px" align="center">
		       	<div class="ml20">			       		
		      		<span>
		      			<a href="javascript:listTable.remove({$node.id},'{$lang.confirm_text}');">{$lang.delete}</a>&nbsp;&nbsp;
		      			<a href="__URL__/mod_node/?id={$node.id}">{$lang.modify}</a>
		      		</span>
		       	</div>
		       </td>
		    </tr>
	    </volist>	
		</tbody>
		<tr class="tfoot hide">
			<td class="first">&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<td class="last">&nbsp;</td>
		</tr>	
	</table>	
</div>


<script>
	/* 隔行变色 */
	$(document).ready(function(){
		$('.qs-table').tableUI();
		listTable.init('__URL__/ajax_article');
	});
</script>	



